package com.itcat.api.mysql;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itcat.mysql.pojo.SmsHomeRecommendSubject;

import java.util.List;

public interface SmsHomeRecommendSubjectApi {


    Page<SmsHomeRecommendSubject> list(Integer pageNum, Integer pageSize, String subjectName, Integer recommendStatus);

    void create(List<SmsHomeRecommendSubject> subjects);

    void updateSort(Integer id, Integer sort);

    void updateRecommendStatus(List<Integer> ids, Integer recommendStatus);

    void delete(List<Integer> ids);
}
